home *** CD-ROM | disk | FTP | other *** search
/ The Microsoft Windows 95 Recource Kit Utilities / Recouce Kit Utilities.iso / rkutil / batch.inf < prev    next >
INI File  |  1995-10-12  |  4KB  |  110 lines

  1. ; Batch.INF
  2.  
  3. ; This is the Setup information file to install the animated cursor editor
  4.  
  5. ; Copyright (c) 1993-1995 Microsoft Corporation
  6.  
  7.  
  8. [version]
  9. LayoutFile=rklayout.inf
  10. signature="$CHICAGO$"
  11. SetupClass=BASE
  12.  
  13. [DestinationDirs]
  14. Register.Copy    = 17    ; LDID_INF
  15. rklayout.copy = 17     ;  LDID_INF
  16. BatchCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%    ; LDID_APPS\Program Files\Resource Kit
  17. Batch.HLP.Copy = 18    ; LDID_HELP 
  18. batch.sys.Copy = 11    ; LDID_SYS
  19.  
  20. [Optional Components]
  21. Batch
  22.  
  23. [Batch]
  24. OptionDesc  = %Batch_Desc%
  25. Tip         = %Batch_TIP%
  26. CopyFiles   = BatchCopyFiles, Batch.HLP.Copy, Batch.Sys.Copy, Register.Copy, rklayout.copy
  27. UpdateInis  = Batch.Inis
  28. AddReg      = BatchReg, Batch.install.reg, Register.AddReg
  29. InstallType = 0            ;Manual only
  30. IconIndex   = 4            ;Default (diamond) mini-icon for dialogs
  31. Uninstall   = Batch_remove
  32.  
  33.  
  34. [Batch_remove]
  35. DelFiles    = BatchCopyFiles, Batch.HLP.Copy, Register.Copy
  36. DelReg      = UnRegister.DelReg
  37. UpdateInis  = Batch.Rem.Inis
  38.  
  39.  
  40. [rklayout.copy]
  41. rklayout.inf
  42.  
  43. [Register.Copy]
  44. Batch.inf
  45.  
  46. [BatchCopyFiles]
  47. Batch.exe
  48. optional.ini
  49. batch.txt
  50.  
  51. [Batch.Sys.Copy]
  52. vbrun300.dll
  53. cmdialog.vbx
  54.  
  55. [Batch.HLP.Copy]
  56. batch.hlp
  57.  
  58.  
  59. [Register.AddReg]
  60. ;Create entries for Maint Mode Setup
  61. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Batch,DisplayName,,%uninstall_Desc%
  62. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Batch,UninstallString,,"RunDll setupx.dll,InstallHinfSection Batch_Remove 4 Batch.INF"
  63.  
  64. [UnRegister.DelReg]
  65. ;Remove entries for Maint Mode Setup
  66. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Batch
  67.  
  68. [BatchReg]
  69. ; create the long-name for "Program Files"
  70. ; Note that when you rename a long name, VFAT changes the short name from
  71. ; foobar~1 to foobar~2.  To avoid this, we introduce a work around in the form of
  72. ; an intermediate rename
  73. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
  74. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
  75. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
  76. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
  77. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
  78. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
  79. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
  80.  
  81.  
  82. [Batch.Inis]
  83. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  84. setup.ini, group11,, """%Batch_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\Batch.exe,,, Batch"       ;creates link
  85.  
  86. [Batch.Rem.Inis]
  87. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  88. setup.ini, group11,, """%Batch_Desc%"""                      ;deletes link
  89.  
  90.  
  91. [Strings]
  92. RKTOOLS_DESC   = "Resource Kit"
  93. batch_Desc    = "Batch INF Script Editor"
  94. uninstall_Desc    = "Batch INF Script Editor"
  95. batch_TIP     = "Allows you to edit or create batch install scripts - for use with server-based setup"
  96. DSK = "Windows 95 Resource Kit"
  97.  
  98.  
  99.  
  100. ; Directory names - note that that short versions must match the truncated
  101. ; 8 char names for the long versions, or else there will be problems.
  102. ; also need to put the short versions in the [DestinationDirs] section above
  103. ; Used by wordpad, hypertrm, backup, paint, & MSN
  104. Program_Files    = "Programme"         ; changed for the German version of Windows 95
  105. PROGRAMF         = "Progra~1"          ; first 6 chars of Program_Files, + "~1"
  106. OEM_PROGRAMF     = "Progra~1"          ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
  107. ResourceKit      = "Resource Kit"
  108. RESOURCE         = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"
  109. OEM_RESOURCE     = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"  - in OEM codepage (not Ansi)
  110.